13 lines
182 B
Makefile
13 lines
182 B
Makefile
OBJ = ui.o vec.o cow.o
|
|
CFLAGS = -g -Wall
|
|
|
|
build: $(OBJ)
|
|
gcc $(CFLAGS) mmn_17.c $(OBJ) -lglut -lGL -lGLU -lm -o mmn_17
|
|
|
|
%.o : %.c
|
|
gcc -c $(CFLAGS) $< -o $@
|
|
|
|
|
|
clean:
|
|
rm *.o mmn_17
|