Browse Source

Added simple Makefile

master
Christopher Snowhill 6 years ago
parent
commit
955350d56a
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      Makefile

+ 18
- 0
Makefile View File

@@ -0,0 +1,18 @@
CFLAGS = -c -fPIC
OBJS = psflib.o psf2fs.o
OPTS = -O2
all: libpsflib.a
libpsflib.a : $(OBJS)
$(AR) rcs $@ $^
.c.o:
$(CC) $(CFLAGS) $(OPTS) $*.c
clean:
rm -f $(OBJS) libpsflib.a > /dev/null

Loading…
Cancel
Save