mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-25 18:31:14 +00:00
- improved the clean/distclean targets
This commit is contained in:
parent
89e4a6a494
commit
e7ea59db7b
@ -32,6 +32,8 @@ SRCS=../prefs.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul
|
|||||||
APP = BasiliskII
|
APP = BasiliskII
|
||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
|
.PHONY: clean distclean realclean depend
|
||||||
|
|
||||||
default: $(APP)
|
default: $(APP)
|
||||||
|
|
||||||
OBJ_DIR = obj
|
OBJ_DIR = obj
|
||||||
@ -52,7 +54,7 @@ $(APP): $(OBJ_DIR) $(OBJS)
|
|||||||
$(CXX) -o $(APP) $(LDFLAGS) $(OBJS) $(LIBS)
|
$(CXX) -o $(APP) $(LDFLAGS) $(OBJS) $(LIBS)
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
cd Linux/NetDriver && make
|
cd Linux/NetDriver; make
|
||||||
|
|
||||||
install: $(APP)
|
install: $(APP)
|
||||||
$(INSTALL_PROGRAM) -s BasiliskII $(bindir)
|
$(INSTALL_PROGRAM) -s BasiliskII $(bindir)
|
||||||
@ -60,16 +62,16 @@ install: $(APP)
|
|||||||
$(INSTALL_DATA) basilisk_ii_keycodes $(libdir)
|
$(INSTALL_DATA) basilisk_ii_keycodes $(libdir)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJ_DIR)/* core* *.core *~ *.bak
|
-rm -f $(OBJ_DIR)/* core* *.core *~ *.bak
|
||||||
rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h
|
-rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f Makefile
|
-rm -f Makefile
|
||||||
rm -f config.cache config.log config.status config.h
|
-rm -f config.cache config.log config.status config.h
|
||||||
strip $(APP)
|
-strip $(APP)
|
||||||
|
|
||||||
realclean: distclean
|
realclean: distclean
|
||||||
rm -f $(APP)
|
-rm -f $(APP)
|
||||||
|
|
||||||
depend dep:
|
depend dep:
|
||||||
makedepend $(CPPFLAGS) -Y ../*.cpp ../*.c *.cpp
|
makedepend $(CPPFLAGS) -Y ../*.cpp ../*.c *.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user