summaryrefslogtreecommitdiff
path: root/libpsx/Makefile
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-11-09 21:01:29 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-11-09 21:01:29 +0100
commit59e38e90a301c4a3a34b0b291d6e883f4e8f67c4 (patch)
tree753b6af60736be1a32e4c8ffc7e55c218ce2182a /libpsx/Makefile
parentc65395be643cad64e11d1b0763d7ea048da3dc84 (diff)
downloadpsxsdk-59e38e90a301c4a3a34b0b291d6e883f4e8f67c4.tar.gz
Remove trailing whitespaces
Diffstat (limited to 'libpsx/Makefile')
-rw-r--r--libpsx/Makefile14
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