mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	owlinux.mak: don't clean things we won't be able to
There won't be a Makefile in rdoff in particular, so trying to run "make clean" there is pointless.
This commit is contained in:
		| @@ -14,7 +14,8 @@ mandir		= $(prefix)/man | |||||||
| CC		= wcl386 | CC		= wcl386 | ||||||
| CFLAGS		= -3 -bcl=$(TARGET) -ox -wx -ze -fpi | CFLAGS		= -3 -bcl=$(TARGET) -ox -wx -ze -fpi | ||||||
| BUILD_CFLAGS	= $(CFLAGS) # -I$(srcdir)/inttypes | BUILD_CFLAGS	= $(CFLAGS) # -I$(srcdir)/inttypes | ||||||
| INTERNAL_CFLAGS = -I$(srcdir) -I. -DHAVE_SNPRINTF -DHAVE_VSNPRINTF | INTERNAL_CFLAGS = -I$(srcdir) -I. \ | ||||||
|  | 		  -DHAVE_SNPRINTF -DHAVE_VSNPRINTF | ||||||
| ALL_CFLAGS	= $(BUILD_CFLAGS) $(INTERNAL_CFLAGS) | ALL_CFLAGS	= $(BUILD_CFLAGS) $(INTERNAL_CFLAGS) | ||||||
| LD		= $(CC) | LD		= $(CC) | ||||||
| LDFLAGS		= $(ALL_CFLAGS) | LDFLAGS		= $(ALL_CFLAGS) | ||||||
| @@ -143,7 +144,7 @@ clean: | |||||||
| 	-rm -f output/*.i | 	-rm -f output/*.i | ||||||
| 	-rm -f nasm$(X) | 	-rm -f nasm$(X) | ||||||
| 	-rm -f ndisasm$(X) | 	-rm -f ndisasm$(X) | ||||||
| 	cd rdoff && $(MAKE) clean | 	# cd rdoff && $(MAKE) clean | ||||||
|  |  | ||||||
| distclean: clean .SYMBOLIC | distclean: clean .SYMBOLIC | ||||||
| 	-rm -f config.h | 	-rm -f config.h | ||||||
| @@ -161,13 +162,13 @@ distclean: clean .SYMBOLIC | |||||||
| 	-rm -f test/*.$(O) | 	-rm -f test/*.$(O) | ||||||
| 	-rm -f test/*.bin | 	-rm -f test/*.bin | ||||||
| 	-rm -f/s autom4te*.cache | 	-rm -f/s autom4te*.cache | ||||||
| 	cd rdoff && $(MAKE) distclean | 	# cd rdoff && $(MAKE) distclean | ||||||
|  |  | ||||||
| cleaner: clean .SYMBOLIC | cleaner: clean .SYMBOLIC | ||||||
| 	-rm -f $(PERLREQ) | 	-rm -f $(PERLREQ) | ||||||
| 	-rm -f *.man | 	-rm -f *.man | ||||||
| 	-rm -f nasm.spec | 	-rm -f nasm.spec | ||||||
| 	cd doc && $(MAKE) clean | 	# cd doc && $(MAKE) clean | ||||||
|  |  | ||||||
| spotless: distclean cleaner .SYMBOLIC | spotless: distclean cleaner .SYMBOLIC | ||||||
| 	-rm -f doc/Makefile | 	-rm -f doc/Makefile | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user