|
|
1.1 root 1:
2: SDLLIB = $(shell sdl-config --libs) $(LIBS)
3: SDLFLAGS = $(shell sdl-config --cflags) -L/usr/X11R6/include
4:
5: SRCS = audio.c hostcall.c keymap.c main.c screen.c shortcut.c input.c
6:
7: OBJS = $(SRCS:.c=.o)
8:
9: .c.o:
10: $(CC) $(CFLAGS) $(INCFLAGS) $(SDLFLAGS) -c $<
11:
12: ../frontier: $(OBJS)
13: $(CC) $(OBJS) $(FE2OBJS) $(SDLLIB) $(LIBFLAGS) -o ../frontier
14:
15: clean:
16: rm -f *.o
17:
18: # Use "make depends" to generate file dependencies:
19: depends: $(SRCS)
20: $(CC) -MM $(CFLAGS) $(SRCS) > Makefile.dep
21:
22: ifneq (,$(wildcard Makefile.dep))
23: include Makefile.dep
24: endif
25:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.