1 # This Makefile understands the following targets:
3 # sdl build SDL (software) version
4 # clean: remove all intermediate files
10 #CPPFLAGS += -m32 -I./include
11 #LDFLAGS += -m32 -framework SDL
13 CPPFLAGS += -I./include -g
14 LDFLAGS += -framework SDL -framework Cocoa
83 hheretic-sdl: $(SDLOBJS) $(BASEOBJS)
84 $(CC) -o hheretic-sdl $(LDFLAGS) $(SDLOBJS) $(BASEOBJS) $(SDLLIBS)
86 hheretic-gl: $(GLBASE) $(GLOBJS) $(BASEOBJS)
87 $(CC) -o hheretic-gl $(GLBASE) $(GLOBJS) $(BASEOBJS) $(GLLIBS) $(SDLLIBS)
97 $(CC) $< -o $@ -c $(CFLAGS)
100 $(CC) $< -o $@ -c $(CFLAGS)
103 $(CXX) $< -o $@ -c $(CPPFLAGS)