diff --git a/src/Makefile b/src/Makefile index 7174074..e018890 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,7 +19,7 @@ editor_CFLAGS = $(CFLAGSF) $(CFLAGS) editor: $(editor_OBJS) $(CC) $(LDFLAGSF) $(LDFLAGS) -o editor $(editor_OBJS) -editor.o: editor.c +editor.o: editor.c ../config.h $(CC) $(editor_CFLAGS) -c editor.c main.o: main.c diff --git a/src/project.conf b/src/project.conf index c6cf76b..f40f626 100644 --- a/src/project.conf +++ b/src/project.conf @@ -6,3 +6,6 @@ ldflags_force=`pkg-config --libs gtk+-2.0` [editor] type=binary sources=editor.c,main.c + +[editor.c] +depends=../config.h