Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LIBS = -lkernel32 -luser32 -lgdi32 -lopengl32
- CFLAGS = -Wall
- OBJ = 64bitmath.o
- monotone.o
- node_sort.o
- planesweep.o
- triangulate.o
- prim_combine.o
- welding.o
- test.o
- main.o
- %.o : %.c
- gcc -c $(CFLAGS) $< -o $@
- test: $(OBJ)
- gcc -o $@ $^ $(CFLAGS) $(LIBS)
- LIBS = -lkernel32 -luser32 -lgdi32 -lopengl32
- CFLAGS = -Wall
- # Should be equivalent to your list of C files, if you don't build selectively
- SRC=$(wildcard *.c)
- test: $(SRC)
- gcc -o $@ $^ $(CFLAGS) $(LIBS)
Add Comment
Please, Sign In to add comment