forked from EtchedPixels/FUZIX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The cpp pass seems to be working now with the front end hacks. It does need some adjustment for line number behaviour it seems.
- Loading branch information
1 parent
86fcdb2
commit ef6cc42
Showing
7 changed files
with
33 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include Makefile.common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
include $(FUZIX_ROOT)/Target/rules.$(USERCPU) | ||
|
||
SRC = cpp.c hash.c main.c token1.c token2.c | ||
|
||
.SUFFIXES: .c .o | ||
|
||
OBJ = $(SRC:.c=.o) | ||
|
||
all: cpp | ||
|
||
.c.o: | ||
$(CC) $(CFLAGS) $(CCOPTS) -c $< | ||
|
||
cpp: $(OBJ) | ||
$(LINKER) $(CRT0) $^ -o $@ $(LINKER_OPT) $(LINKER_TAIL) | ||
|
||
clean: | ||
rm -f *.o $(APPS) $(APPSNS) $(SRCS:.c=) core *~ *.asm *.lst *.sym *.map *.noi *.lk *.ihx *.tmp *.bin size.report | ||
|
||
rmbak: | ||
rm -f *~ core | ||
|
||
main.o: cc.h | ||
cpp.o: cc.h | ||
hash.o: cc.h | ||
tree.o: cc.h | ||
|
||
token1.o: token1.h | ||
token2.o: token2.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package ccp | ||
if-file cpp | ||
|
||
f 0644 /usr/bin/cpp cpp | ||
f 0755 /usr/bin/cpp cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters