2 # GNU Makefile for JanoPref. By T.Pierron
3 # For use with gcc 2.7.0+
10 CFLAGS = IDir=/ Optimize Define JANOPREF CPU $(CPU) Define mc$(CPU)
14 OBJ = JanoPrefs.o Prefs.o PrefsPort.o Prefs_Strings.o SampleEd.o Utils.o
17 # Implicit rule to produce object file
19 $(CC) NoLink $< $(CFLAGS)
24 $(CC) Link $(OBJ) ProgramName $(EXE) $(LIBS)
29 # Special dependencies
30 JanoPrefs.o: Prefs.h JanoPrefs.h Utils.h IPC_Prefs.h Prefs_Strings.h Jed_Strings.h Sample.h
31 PrefsPort.o: Prefs.h PrefsPort.c Version.h IPC_Prefs.h
32 Prefs_Strings.o: Prefs_Strings.h Jed_Strings.h
33 SampleEd.o: Prefs.h Project.c Project.h Gui.h Memory.h UndoRedo.h Sample.h
34 Utils.o: Prefs.h Utils.c JanoPrefs.h Utils.h Jed_Strings.h