summaryrefslogtreecommitdiff
path: root/swfs
diff options
context:
space:
mode:
authorkramm <kramm>2003-01-07 08:40:56 +0000
committerkramm <kramm>2003-01-07 08:40:56 +0000
commitbdb7953c6af7f79f77c6e1eef570dc9186a7b9f1 (patch)
tree072e8b0e1031b2523a1f2ac30fc64bdf4da483fd /swfs
parent98224e6d436b226dc8445db494efa7e8c3635c34 (diff)
FreeBSD fixes.
Diffstat (limited to 'swfs')
-rw-r--r--swfs/Makefile.in22
1 files changed, 15 insertions, 7 deletions
diff --git a/swfs/Makefile.in b/swfs/Makefile.in
index b00f5c87..e3d08efc 100644
--- a/swfs/Makefile.in
+++ b/swfs/Makefile.in
@@ -7,11 +7,19 @@ all: simple_viewer.swf keyboard_viewer.swf PreLoaderTemplate.swf
programs = simple_viewer keyboard_viewer PreLoaderTemplate
-%.o: %.c
- $(C) -I../lib $< -o $@
-
-%: %.o
- $(L) $< -o $@ ../lib/librfxswf.a $(LIBS)
+simple_viewer.o: simple_viewer.c
+ $(C) -I../lib simple_viewer.c -o $@
+keyboard_viewer.o: keyboard_viewer.c
+ $(C) -I../lib keyboard_viewer.c -o $@
+PreLoaderTemplate.o: PreLoaderTemplate.c
+ $(C) -I../lib PreLoaderTemplate.c -o $@
+
+simple_viewer: simple_viewer.o
+ $(L) simple_viewer.o -o $@ ../lib/librfxswf.a $(LIBS)
+keyboard_viewer: keyboard_viewer.o
+ $(L) keyboard_viewer.o -o $@ ../lib/librfxswf.a $(LIBS)
+PreLoaderTemplate: PreLoaderTemplate.o
+ $(L) PreLoaderTemplate.o -o $@ ../lib/librfxswf.a $(LIBS)
simple_viewer.swf: $(programs)
@echo Calling ./keybard_viewer to create keyboard_viewer.swf
@@ -34,9 +42,9 @@ install:
$(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
$(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
test -f $(pkgdatadir)/swfs/default_viewer.swf || \
- $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf; \
+ $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf;
test -f $(pkgdatadir)/swfs/default_loader.swf || \
- $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf; \
+ $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf;
uninstall:
$(UNINSTALL_DATA) $(pkgdatadir)/swfs/simple_viewer.swf