diff options
Diffstat (limited to 'libpsx/Makefile')
| -rw-r--r-- | libpsx/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libpsx/Makefile b/libpsx/Makefile index 7ab80d8..740465c 100644 --- a/libpsx/Makefile +++ b/libpsx/Makefile @@ -12,7 +12,7 @@ OBJS = $(patsubst src/%.c, out/%.o, $(wildcard src/*.c)) \ $(patsubst src/runexe/%.c, out/runexe/%.o, $(wildcard src/runexe/*.c)) \ $(patsubst src/%.s, out/%.o, $(wildcard src/*.s)) \ $(patsubst src/runexe/%.s, out/runexe/%.o, $(wildcard src/runexe/*.s)) - + all: libpsx.a start.o libpsx.a: $(OBJS) @@ -21,26 +21,26 @@ libpsx.a: $(OBJS) out/%.o: src/%.c @mkdir out -p $(CC) $(CFLAGS) -c -o $@ $< - + out/libc/%.o: src/libc/%.c @mkdir out -p @mkdir out/libc -p $(CC) $(CFLAGS) -c -o $@ $< - + out/runexe/%.o: src/runexe/%.c @mkdir out -p @mkdir out/runexe -p $(CC) $(CFLAGS) -c -o $@ $< - + out/%.o: src/%.s @mkdir out -p $(CC) $(CFLAGS) -c -o $@ $< - + out/runexe/%.o: src/runexe/%.s @mkdir out -p @mkdir out/runexe -p $(CC) $(CFLAGS) -c -o $@ $< - + start.o: src/start/start.s $(CC) $(CFLAGS) -c -o $@ $< @@ -48,7 +48,7 @@ install: libpsx.a start.o cp libpsx.a $(TOOLCHAIN_PREFIX)/lib cp start.o $(TOOLCHAIN_PREFIX)/lib cp -r include/* $(TOOLCHAIN_PREFIX)/include - + clean: rm -f $(OBJS) rm -f libpsx.a |
