Install panel_test as well
This commit is contained in:
parent
e87ecd7654
commit
4216ee5651
|
@ -23,7 +23,7 @@ panel_test_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
||||||
panel_test: $(panel_test_OBJS)
|
panel_test: $(panel_test_OBJS)
|
||||||
$(CC) -o panel_test $(panel_test_OBJS) $(panel_test_LDFLAGS)
|
$(CC) -o panel_test $(panel_test_OBJS) $(panel_test_LDFLAGS)
|
||||||
|
|
||||||
test.o: test.c
|
test.o: test.c ../config.h
|
||||||
$(CC) $(panel_test_CFLAGS) -c test.c
|
$(CC) $(panel_test_CFLAGS) -c test.c
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -33,7 +33,10 @@ distclean: clean
|
||||||
$(RM) -- $(TARGETS)
|
$(RM) -- $(TARGETS)
|
||||||
|
|
||||||
install: $(TARGETS)
|
install: $(TARGETS)
|
||||||
|
$(MKDIR) $(DESTDIR)$(BINDIR)
|
||||||
|
$(INSTALL) -m 0755 -- panel_test $(DESTDIR)$(BINDIR)/panel_test
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
$(RM) -- $(DESTDIR)$(BINDIR)/panel_test
|
||||||
|
|
||||||
.PHONY: all clean distclean install uninstall
|
.PHONY: all clean distclean install uninstall
|
||||||
|
|
|
@ -6,3 +6,7 @@ ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||||
[panel_test]
|
[panel_test]
|
||||||
type=binary
|
type=binary
|
||||||
sources=test.c
|
sources=test.c
|
||||||
|
install=$(BINDIR)
|
||||||
|
|
||||||
|
[test.c]
|
||||||
|
depends=../config.h
|
||||||
|
|
|
@ -95,7 +95,7 @@ static char const * _helper_config_get(Panel * panel, char const * section,
|
||||||
/* usage */
|
/* usage */
|
||||||
static int _usage(void)
|
static int _usage(void)
|
||||||
{
|
{
|
||||||
fputs("Usage: test applet...\n", stderr);
|
fputs("Usage: panel_test applet...\n", stderr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user