blob: a71f96e519fccb9e8e5043d43972719a025be1b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
diff -Naur ti99sim-0.16.0/Makefile.linux ti99sim-0.16.0.patched/Makefile.linux
--- ti99sim-0.16.0/Makefile.linux 2020-05-25 16:52:22.000000000 -0400
+++ ti99sim-0.16.0.patched/Makefile.linux 2023-04-29 04:55:35.807225123 -0400
@@ -42,15 +42,15 @@
src/util
install: ti99sim
- @$(INSTALL) -d $(DATA_DIR)
- @$(INSTALL) -d $(DATA_DIR)/cartridges
- @$(INSTALL) -d $(DATA_DIR)/console
- @$(INSTALL) -d $(DATA_DIR)/disks
- @$(INSTALL) -d $(BIN_DIR)
- @for target in $(ITARGETS); do \
+ $(INSTALL) -d $(DATA_DIR)
+ $(INSTALL) -d $(DATA_DIR)/cartridges
+ $(INSTALL) -d $(DATA_DIR)/console
+ $(INSTALL) -d $(DATA_DIR)/disks
+ $(INSTALL) -d $(BIN_DIR)
+ for target in $(ITARGETS); do \
$(INSTALL) -s $$target $(BIN_DIR); \
done
- @if [ $(BIN_DIR) != $(SYS_BIN) ]; then \
+ if [ $(BIN_DIR) != $(SYS_BIN) ]; then \
for target in $(notdir $(ITARGETS)); do \
ln -f -s $(BIN_DIR)/$$target $(SYS_BIN)/$$target; \
done \
@@ -67,7 +67,7 @@
@if [ -x src ]; then \
rm -f {.,include,doc}/*~; \
for dir in $(SRC_DIRS); do \
- $(MAKE) -sC $$dir clean; \
+ $(MAKE) -C $$dir clean; \
done \
fi
@if [ -x bin ]; then \
@@ -90,13 +90,13 @@
fi \
fi; \
for dir in $(SRC_DIRS); do \
- $(MAKE) -sC $$dir $(TI_DATA_DIR); \
+ $(MAKE) -C $$dir $(TI_DATA_DIR); \
done \
fi
test: ti99sim
@if [ -x test ]; then \
- $(MAKE) -sC test; \
+ $(MAKE) -C test; \
for test in test/bin/test-*; do \
$$test; \
done \
diff -Naur ti99sim-0.16.0/rules.mak ti99sim-0.16.0.patched/rules.mak
--- ti99sim-0.16.0/rules.mak 2020-05-25 16:52:22.000000000 -0400
+++ ti99sim-0.16.0.patched/rules.mak 2023-04-29 04:56:01.280222726 -0400
@@ -102,20 +102,18 @@
DF = $(CFG)/$(*F)
$(CFG)/%.o : %.cpp
- @echo $<
- @$(CXX) -c $(CFLAGS) $(WARNINGS) $(INCLUDES) -MD -o $@ $<
+ $(CXX) -c $(CFLAGS) $(WARNINGS) $(INCLUDES) -MD -o $@ $<
@cp $(DF).d $(DF).dep; \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(DF).d >> $(DF).dep; \
rm -f $(DF).d
$(CFG)/%.o : %.m
- @echo $<
- @$(CC) -c $(CFLAGS) $(WARNINGS) $(INCLUDES) -o $@ $<
+ $(CC) -c $(CFLAGS) $(WARNINGS) $(INCLUDES) -o $@ $<
%.h.gch: %.h
@echo Generating pre-compiled header for $<
- @$(CXX) $(CFLAGS) $(WARNINGS) $(INCLUDES) $<
+ $(CXX) $(CFLAGS) $(WARNINGS) $(INCLUDES) $<
.SUFFIXES: .cpp .c .o
|