Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5 | daniel-mar | 1 | |
2 | all: ipe_artfile_unpacker ipe_artfile_packer ipma_frame_extractor |
||
3 | |||
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 |
||
5 | 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 |
||
7 | gcc -std=c99 -Wall -c ipe_artfile_unpacker_ipe32.c -o ipe_artfile_unpacker_ipe32.o |
||
8 | gcc -std=c99 -Wall -c ipe16_lzw_decoder.c -o ipe16_lzw_decoder.o |
||
9 | gcc -std=c99 -Wall -c ipe32_lzw_decoder.c -o ipe32_lzw_decoder.o |
||
10 | gcc -std=c99 -Wall -c ipe16_bmpexport.c -o ipe16_bmpexport.o |
||
11 | gcc -std=c99 -Wall -c ipe32_bmpexport.c -o ipe32_bmpexport.o |
||
12 | gcc -std=c99 -Wall -c utils.c -o utils.o |
||
13 | gcc -o ipe_artfile_unpacker ipe_artfile_unpacker.o ipe_artfile_unpacker_ipe16.o ipe_artfile_unpacker_ipe32.o ipe16_lzw_decoder.o ipe32_lzw_decoder.o ipe16_bmpexport.o ipe32_bmpexport.o utils.o |
||
14 | del *.o |
||
15 | |||
16 | ipe_artfile_packer: ipe_artfile_packer.c ipe_artfile_packer_ipe16_ba.c ipe_artfile_packer_ipe16_pip.c ipe_artfile_packer_ipe32.c ipe16_lzw_encoder.c ipe32_lzw_encoder.c ipe16_bmpimport.c ipe32_bmpimport.c utils.c |
||
17 | gcc -std=c99 -Wall -c ipe_artfile_packer.c -o ipe_artfile_packer.o |
||
18 | gcc -std=c99 -Wall -c ipe_artfile_packer_ipe16_ba.c -o ipe_artfile_packer_ipe16_ba.o |
||
19 | gcc -std=c99 -Wall -c ipe_artfile_packer_ipe16_pip.c -o ipe_artfile_packer_ipe16_pip.o |
||
20 | gcc -std=c99 -Wall -c ipe_artfile_packer_ipe32.c -o ipe_artfile_packer_ipe32.o |
||
21 | 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 |
||
23 | 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 |
||
25 | 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 |
||
27 | del *.o |
||
28 | |||
29 | # Can only be compiled for Windows, because it requires "Video for Windows"! |
||
30 | ipma_frame_extractor: ipma_frame_extractor.c |
||
31 | gcc -std=c99 -Wall -c ipma_frame_extractor.c -o ipma_frame_extractor.o |
||
32 | gcc -lm -o ipma_frame_extractor ipma_frame_extractor.o -lVfw32 -lOle32 |
||
33 | del *.o |
||
34 | |||
35 | clean: |
||
36 | del *.o |
||
37 | # TODO: if [ -f ... ] then rm |
||
38 | del ipe_artfile_packer.exe |
||
39 | del ipe_artfile_unpacker.exe |
||
40 | del ipma_frame_extractor.exe |