Advertisement
xerpi

Untitled

Jan 6th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.17 KB | None | 0 0
  1. TARGET=3dserver
  2. OBJS=main.o
  3.  
  4. CFLAGS= -O2
  5.  
  6. all: $(OBJS)
  7.     gcc -o $(TARGET) $(OBJS)
  8.  
  9.  
  10. %.o: %.c
  11.     $(CC) -I$(INCLUDES) $(CFLAGS) -c -o $@ $<
  12.  
  13. clean:
  14.     rm -r -f $(OBJS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement