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