Skip to content

Commit

Permalink
allow for executable extension
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Jan 25, 2020
1 parent 568f2cf commit 485aa75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ CFLAGS += -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOU

all:
cd mbedtls && $(MAKE) lib
$(MAKE) hactool
$(MAKE) hactool$(EXEEXT)

.c.o:
$(CC) $(INCLUDE) -c $(CFLAGS) -o $@ $<

hactool: save.o sha.o aes.o extkeys.o rsa.o npdm.o bktr.o kip.o packages.o pki.o pfs0.o hfs0.o nca0_romfs.o romfs.o utils.o nax0.o nso.o lz4.o nca.o xci.o main.o filepath.o ConvertUTF.o cJSON.o
hactool$(EXEEXT): save.o sha.o aes.o extkeys.o rsa.o npdm.o bktr.o kip.o packages.o pki.o pfs0.o hfs0.o nca0_romfs.o romfs.o utils.o nax0.o nso.o lz4.o nca.o xci.o main.o filepath.o ConvertUTF.o cJSON.o
$(CC) -o $@ $^ -L $(LIBDIR) $(LDFLAGS)

aes.o: aes.h types.h
Expand Down

0 comments on commit 485aa75

Please sign in to comment.