Filewatcher File Search File Search
Catalog
Content Search
» » » » » » sjasm-0.39-0.11.g1.fc17.src.rpm » Content »
pkg://sjasm-0.39-0.11.g1.fc17.src.rpm:157750/  info  HEADER  downloads

sjasm - A z80 cross assembler…  more info»

sjasm-0.39-fixmakefile.patch

--- sjasmsrc039g1/Makefile.orig	2004-04-09 16:14:00.000000000 +0100
+++ sjasmsrc039g1/Makefile	2006-08-11 01:38:57.000000000 +0100
@@ -8,7 +8,8 @@
 TARGETS	 = sjasm$(EXTENSION)
 OBJECTS  = direct.o loose.o parser.o piz80.o reader.o sjasm.o sjio.o tables.o 
 
-BINDIR   = /usr/local/bin
+BINDIR   = /usr/bin
+DESTDIR  = 
 
 CXXFLAGS = -Wall -O2
 ifneq ($(ISMINGW),)
@@ -25,14 +26,14 @@
 
 sjasm$(EXTENSION): $(DEPDIR) $(OBJECTS)
 	g++ $(LDFLAGS) -o $@ $(OBJECTS) 
-	strip $@
 
 clean:
 	$(RM) $(OBJECTS) $(TARGETS)
 	$(RM) -r $(DEPDIR)	
 
 install: all
-	cp -f $(TARGETS) $(BINDIR)
+	mkdir -p $(DESTDIR)/usr/bin
+	cp -f $(TARGETS) $(DESTDIR)/usr/bin
 
 %.o : %.cpp
 	$(CXX) -Wp,-MD,$(DEPFILE).d $(CXXFLAGS) -c -o $@ $<
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com