diff options
| author | Mattias Andrée <maandree@kth.se> | 2023-07-01 09:26:44 +0200 | 
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2023-07-01 09:26:44 +0200 | 
| commit | bd32947e35d5da5747a02f0744730cb16077ba39 (patch) | |
| tree | bf9a9b81b4d50e29fc3dbc63261f1dc064b1ed13 /x86_64 | |
| parent | Change PREFIX to /usr (diff) | |
| download | optimised-true-bd32947e35d5da5747a02f0744730cb16077ba39.tar.gz optimised-true-bd32947e35d5da5747a02f0744730cb16077ba39.tar.bz2 optimised-true-bd32947e35d5da5747a02f0744730cb16077ba39.tar.xz | |
Improve makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | x86_64/build.mk | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/x86_64/build.mk b/x86_64/build.mk new file mode 100644 index 0000000..a3c8d8d --- /dev/null +++ b/x86_64/build.mk @@ -0,0 +1,5 @@ +ASFLAGS = +LDFLAGS = -s -nodefaultlibs -nostdlib + +true.o false.o: $(MACHINE)/true.s $(MACHINE)/false.s +	$(AS) -o $@ $(MACHINE)/$(@:.o=.s) $(ASFLAGS) | 
