Rev 5 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5 | Rev 9 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | 1 | ||
- | 2 | # On Linux, run: |
|
- | 3 | # make -f Makefile.linux clean && make -f Makefile.linux |
|
- | 4 | ||
2 | all: ipe_artfile_unpacker ipe_artfile_packer |
5 | all: ipe_artfile_unpacker ipe_artfile_packer |
3 | 6 | ||
4 | ipe_artfile_unpacker: ipe_artfile_unpacker.c ipe_artfile_unpacker_ipe16.c ipe_artfile_unpacker_ipe32.c ipe16_lzw_decoder.c ipe32_lzw_decoder.c ipe16_bmpexport.c ipe32_bmpexport.c utils.c |
7 | ipe_artfile_unpacker: ipe_artfile_unpacker.c ipe_artfile_unpacker_ipe16.c ipe_artfile_unpacker_ipe32.c ipe16_lzw_decoder.c ipe32_lzw_decoder.c ipe16_bmpexport.c ipe32_bmpexport.c utils.c |
5 | gcc -std=c99 -Wall -c ipe_artfile_unpacker.c -o ipe_artfile_unpacker.o |
8 | gcc -std=c99 -Wall -c ipe_artfile_unpacker.c -o ipe_artfile_unpacker.o |
6 | gcc -std=c99 -Wall -c ipe_artfile_unpacker_ipe16.c -o ipe_artfile_unpacker_ipe16.o |
9 | gcc -std=c99 -Wall -c ipe_artfile_unpacker_ipe16.c -o ipe_artfile_unpacker_ipe16.o |
Line 21... | Line 24... | ||
21 | gcc -std=c99 -Wall -c ipe16_lzw_encoder.c -o ipe16_lzw_encoder.o |
24 | gcc -std=c99 -Wall -c ipe16_lzw_encoder.c -o ipe16_lzw_encoder.o |
22 | gcc -std=c99 -Wall -c ipe32_lzw_encoder.c -o ipe32_lzw_encoder.o |
25 | gcc -std=c99 -Wall -c ipe32_lzw_encoder.c -o ipe32_lzw_encoder.o |
23 | gcc -std=c99 -Wall -c ipe16_bmpimport.c -o ipe16_bmpimport.o |
26 | gcc -std=c99 -Wall -c ipe16_bmpimport.c -o ipe16_bmpimport.o |
24 | gcc -std=c99 -Wall -c ipe32_bmpimport.c -o ipe32_bmpimport.o |
27 | gcc -std=c99 -Wall -c ipe32_bmpimport.c -o ipe32_bmpimport.o |
25 | gcc -std=c99 -Wall -c utils.c -o utils.o |
28 | gcc -std=c99 -Wall -c utils.c -o utils.o |
26 | gcc -lm -o ipe_artfile_packer ipe_artfile_packer.o ipe_artfile_packer_ipe16_ba.o ipe_artfile_packer_ipe16_pip.o ipe_artfile_packer_ipe32.o ipe16_lzw_encoder.c ipe32_lzw_encoder.o ipe16_bmpimport.o ipe32_bmpimport.o utils.o |
29 | gcc -o ipe_artfile_packer ipe_artfile_packer.o ipe_artfile_packer_ipe16_ba.o ipe_artfile_packer_ipe16_pip.o ipe_artfile_packer_ipe32.o ipe16_lzw_encoder.c ipe32_lzw_encoder.o ipe16_bmpimport.o ipe32_bmpimport.o utils.o -lm |
27 | rm *.o |
30 | rm *.o |
28 | 31 | ||
29 | clean: |
32 | clean: |
30 | rm -f *.o |
33 | rm -f *.o |
31 | # TODO: if [ -f ... ] then rm |
34 | # TODO: if [ -f ... ] then rm |