|
|
1.1 root 1: # Makefile for Hatari's SDL GUI.
2:
3: # Include settings
4: include ../../Makefile.cnf
5:
6: # Additional include directories:
1.1.1.7 ! root 7: INCFLAGS = -I../.. -I../debug -I../includes $(CPPFLAGS)
1.1 root 8:
1.1.1.5 root 9: CFLAGS += $(INCFLAGS) $(SDL_CFLAGS) -Wno-write-strings
1.1 root 10:
11:
1.1.1.6 root 12: DLGSRCS = dlgAbout.c dlgAlert.c dlgDevice.c dlgFloppy.c dlgHardDisk.c \
13: dlgJoystick.c dlgKeyboard.c dlgMain.c dlgMemory.c dlgNewDisk.c dlgRom.c \
1.1.1.2 root 14: dlgScreen.c dlgSound.c dlgSystem.c dlgFileSelect.c sdlgui.c
1.1 root 15:
16:
17: DLGOBJS = $(DLGSRCS:.c=.o)
18:
19:
1.1.1.6 root 20: all: gui-sdl.a
21:
22: gui-sdl.a: $(DLGOBJS)
23: $(AR) cru $@ $^
24: $(RANLIB) $@
25:
1.1 root 26:
27: font5x8.h: font5x8.bmp
28: convert font5x8.bmp xbm:font5x8.h
29:
30: font10x16.h: font10x16.bmp
31: convert font10x16.bmp xbm:font10x16.h
32:
1.1.1.4 root 33:
34: clean:
1.1.1.7 ! root 35: $(RM) *.o gui-sdl.a
1.1.1.4 root 36:
37: distclean: clean
38: $(RM) Makefile.dep *~ *.bak *.orig
39:
40:
1.1 root 41: # Use "make depend" to generate file dependencies:
1.1.1.7 ! root 42: Makefile.dep: Makefile ../Makefile
1.1 root 43: $(CC) -MM $(CFLAGS) $(DLGSRCS) > Makefile.dep
44:
1.1.1.4 root 45: depend: Makefile.dep
46:
47: -include Makefile.dep
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.