Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: Make  |  size: 0.26 KB  |  hits: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CC = gcc
  2. EXE = super_office_stress
  3. OBJS = super_office_stress.o
  4. LIBS = -lm -lGL -lGLU `allegro-config --libs` -lSOIL
  5.  
  6. all : $(EXE)
  7.  
  8. clean :
  9.         rm -f $(EXE) $(OBJS)
  10.  
  11. $(EXE) : $(OBJS)
  12.         $(CC) -o $@ $(CFLAGS) $< $(LIBS)
  13.  
  14. %.o : %.c
  15.         $(CC) -o $@ $(CFLAGS) -c $<