grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / prefs / Editor / Makefile
blob8a86291c568a4be2d11d74ce0f1e005452129802
2 # GNU Makefile for JanoPref. By T.Pierron
3 # For use with gcc 2.7.0+
6 # System environment
7 EXE = ../../JanoPrefs
8 CC = gcc -s
9 CFLAGS = -I/amiga/include -I.. -O2 -DJANOPREF -m68020
10 LIBS = -noixemul
11 RM = rm -f #Delete quiet
12 VPATH = ..
14 OBJ = JanoPrefs.o Prefs.o PrefsPort.o Prefs_Strings.o SampleEd.o Utils.o
17 # Implicit rule to produce object file
18 %.o:%.c
19 $(CC) -c $< $(CFLAGS)
21 all: $(EXE)
23 $(EXE): $(OBJ)
24 $(CC) $(OBJ) -o $(EXE) $(LIBS)
26 clean:
27 $(RM) $(OBJ)
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