Browse Source

Build system fix-- now to update all the poor bitrotted examples so
they actually build.



git-svn-id: http://svn.xiph.org/trunk/fusd@12315 0101bb08-14d6-0310-b084-bc0e0c8e3800

xiphmont 17 years ago
parent
commit
48511c545d
2 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/Makefile
  2. BIN
      examples/helloworld

+ 2 - 2
examples/Makefile

@@ -12,8 +12,8 @@ install: $(TARGETS)
 clean:
 	rm -f *.o *.d $(TARGETS) gmon.out *~ 
 
-$(TARGETS): %.o: %.c
-	$(CC) '-g -O2 $(SCF) $(GCF)' $< -o $@ libfusd.so.0.0 $(SLF)
+$(TARGETS): %: %.c
+	$(CC) $(GCF) $< -o $@ ../libfusd/libfusd.a 
 
 %.d: %.c
 	$(CC) -M $(CFLAGS) $< > $@.$$$$; sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; rm -f $@.$$$$

BIN
examples/helloworld