diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..09234f3 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CC=gcc +CFLAGS= +LD=gcc +LDFLAGS=-lSDL +# -lSDL_mixer + +EXEC=lew +SOURCES=main.c +OBJECTS=$(SOURCES:.c=.o) + +$(EXEC): $(OBJECTS) + $(LD) $(LDFLAGS) $< -o $@ + +.o: + $(CC) $(CFLAGS) $< -o $@