git » fp-git.git » commit ec7afef

Tested for several platforms

author ecalot
2004-03-17 23:42:15 UTC
committer ecalot
2004-03-17 23:42:15 UTC
parent 55581e658de58740c03fd9ace38da97fa7371caa

Tested for several platforms

PR/src/Makefile +4 -4

diff --git a/PR/src/Makefile b/PR/src/Makefile
index 3702f50..82d77c5 100644
--- a/PR/src/Makefile
+++ b/PR/src/Makefile
@@ -21,8 +21,8 @@ DEFINES = -DOS=\"$(OS)\" $(LINUX)
 OPTIONS = $(INCLUDE) $(DEFINES)
 
 OBJFILES = compile.o compress.o extract.o resources.o tasks.o disk.o\
-           xmlparse.o xmlsearch.o dat.o bmp.o mid.o pal.o wav.o plv.o memory.o\
-           $(SRC2)
+           xmlparse.o xmlsearch.o dat.o bmp.o mid.o pal.o wav.o plv.o\
+           memory.o $(SRC2)
 
 SRC1     = pr.o
 SRC3     = prlib.o
@@ -48,9 +48,9 @@ clean:
 
 build: clean bin/pr
 
-all: $(EXEFILE) lib
+all: $(EXEFILE)
 
-lib: $(OBJFILES) $(SRC3)
+lib: clean $(OBJFILES) $(SRC3)
 	$(MAKEDIR) bin
 	$(INFO) Making dynamic library...
 	$(CC) -o bin/pr.so $(OBJFILES) $(SRC3) -O2 -Llibc -shared -dynamic