Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC=gcc
- CFLAGS=-I -lSDL -lSDL_image -lSDL_mixer -lGLU -Wall
- DEPS = piece.h engine.h include.h
- OBJ = main.o piece.o engine.o include.o
- ODIR = obj
- %.o: %.c $(DEPS)
- $(CC) -c -o $@ $< $(CFLAGS)
- alpha: $(OBJ)
- gcc -o $@ $^ $(CFLAGS)
- mv main.o engine.o include.o piece.o obj
- .PHONY: clean
- clean:
- rm -f $(ODIR)/*.o *~ core $(INCDIR)/*~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement