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