revert between 56095 -> 55830 in arch
[AROS.git] / workbench / tools / Edit / Makefile
blobc6c1de1cb440813ec26f140f3b1ae0a16646f280
2 # GNU Makefile for JanoEditor. By T.Pierron
3 # For use with GNU gcc v2.7.0+
6 # System environment
7 EXE = jed
8 CC = gcc -s
9 CFLAGS = #-I/amiga/include #-DDEBUG
10 LIBS = -noixemul
11 RM = rm -f #Delete Quiet
13 OBJ = ClipLoc.o Cursor.o DiskIO.o Edit.o Events.o Gui.o Jed.o \
14 Macros.o Memory.o Prefs.o Project.o Search.o UndoRedo.o \
15 Utility.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 Jed_Strings.h: catalogs/JanoEditor.cd
27 catcomp $< cfile strings.h
29 clean:
30 $(RM) $(OBJ)
33 # Special dependencies
34 Memory.o: Memory.h
35 Diskio.o: DiskIO.h Jed_Strings.h
36 Project.o: Project.h Gui.h Jed_Strings.h
37 Cursor.o: Project.h Prefs.h Jed_Strings.h
38 Utility.o: Project.h Prefs.h Jed_Strings.h Utility.h Memory.h
39 Prefs.o: Project.h Prefs.h Jed_Strings.h Version.h
40 Gui.o: Project.h Prefs.h Jed_Strings.h Gui.h
41 Edit.o: Project.h Prefs.h Jed_Strings.h Gui.h
42 Events.o: Project.h Prefs.h Jed_Strings.h IPC_Prefs.h
43 Search.o: Project.h Prefs.h Jed_Strings.h
44 ClipLoc.o: ClipLoc.h Jed_Strings.h
45 Jed.o: Project.h Prefs.h Jed_Strings.h Gui.h Version.h
46 UndoRedo.o: Project.h UndoRedo.h
47 Macros.o: Macros.h