32 |
|
APP = BasiliskII |
33 |
|
|
34 |
|
## Rules |
35 |
+ |
.PHONY: clean distclean realclean depend |
36 |
+ |
|
37 |
|
default: $(APP) |
38 |
|
|
39 |
|
OBJ_DIR = obj |
54 |
|
$(CXX) -o $(APP) $(LDFLAGS) $(OBJS) $(LIBS) |
55 |
|
|
56 |
|
modules: |
57 |
< |
cd Linux/NetDriver && make |
57 |
> |
cd Linux/NetDriver; make |
58 |
|
|
59 |
|
install: $(APP) |
60 |
|
$(INSTALL_PROGRAM) -s BasiliskII $(bindir) |
62 |
|
$(INSTALL_DATA) basilisk_ii_keycodes $(libdir) |
63 |
|
|
64 |
|
clean: |
65 |
< |
rm -f $(OBJ_DIR)/* core* *.core *~ *.bak |
66 |
< |
rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h |
65 |
> |
-rm -f $(OBJ_DIR)/* core* *.core *~ *.bak |
66 |
> |
-rm -f cpuemu.cpp cpudefs.cpp cputmp.s cpufast*.s cpustbl.cpp cputbl.h |
67 |
|
|
68 |
|
distclean: clean |
69 |
< |
rm -f Makefile |
70 |
< |
rm -f config.cache config.log config.status config.h |
71 |
< |
strip $(APP) |
69 |
> |
-rm -f Makefile |
70 |
> |
-rm -f config.cache config.log config.status config.h |
71 |
> |
-strip $(APP) |
72 |
|
|
73 |
|
realclean: distclean |
74 |
< |
rm -f $(APP) |
74 |
> |
-rm -f $(APP) |
75 |
|
|
76 |
|
depend dep: |
77 |
|
makedepend $(CPPFLAGS) -Y ../*.cpp ../*.c *.cpp |