main.c and panel.c actually depend on ../config.h
This commit is contained in:
parent
d3bf875dd1
commit
467fc64410
|
@ -35,10 +35,10 @@ run_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
|||
run: $(run_OBJS)
|
||||
$(CC) -o run $(run_OBJS) $(run_LDFLAGS)
|
||||
|
||||
panel.o: panel.c common.h ../include/Panel.h
|
||||
panel.o: panel.c common.h ../include/Panel.h ../config.h
|
||||
$(CC) $(panel_CFLAGS) -c panel.c
|
||||
|
||||
main.o: main.c common.h
|
||||
main.o: main.c common.h ../config.h
|
||||
$(CC) $(panel_CFLAGS) -c main.c
|
||||
|
||||
run.o: run.c
|
||||
|
|
|
@ -21,12 +21,13 @@
|
|||
#include <signal.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include "common.h"
|
||||
#include "../config.h"
|
||||
|
||||
|
||||
/* usage */
|
||||
static int _usage(void)
|
||||
{
|
||||
fputs("Usage: panel\n", stderr);
|
||||
fputs("Usage: " PACKAGE "\n", stderr);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ int panel_error(Panel * panel, char const * message, int ret)
|
|||
|
||||
static int _error_text(char const * message, int ret)
|
||||
{
|
||||
fputs("panel: ", stderr);
|
||||
fputs(PACKAGE ": ", stderr);
|
||||
perror(message);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -15,10 +15,10 @@ cppflags=-D PREFIX=\"$(PREFIX)\"
|
|||
install=$(BINDIR)
|
||||
|
||||
[main.c]
|
||||
depends=common.h
|
||||
depends=common.h,../config.h
|
||||
|
||||
[panel.c]
|
||||
depends=common.h,../include/Panel.h
|
||||
depends=common.h,../include/Panel.h,../config.h
|
||||
|
||||
[run]
|
||||
type=binary
|
||||
|
|
Loading…
Reference in New Issue
Block a user