Started working on a simple UDP wrapper

This commit is contained in:
Kayne Ruse
2013-05-19 04:25:35 +10:00
parent d2087be9ac
commit b3691a341c
5 changed files with 98 additions and 14 deletions
+12
View File
@@ -0,0 +1,12 @@
SRC=$(wildcard *.c)
OBJ=$(SRC:.c=.o)
OUT = libSDL_net.a
all: $(OBJ)
ar -crs $(OUT) $(OBJ)
$(%.o): %.c
$(CC) -c -o $@ $<
clean:
$(RM) *.o *.a