mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-06 10:25:45 -04:00
automatically generate a GIMP-compatible palette file
Either `make gimp-palette` or `make doom.gpl` will convert the playpal lump into a file that can be imported into GIMP for paletted image modes.
This commit is contained in:
parent
d9c68f376a
commit
383854430b
5 changed files with 29 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -102,8 +102,14 @@ else
|
|||
JSON=$(JSON) VERSION=$(VERSION) scripts/makejson
|
||||
endif
|
||||
|
||||
doom.gpl: lumps/playpal/playpal-base.lmp
|
||||
$(MAKE) -C lumps/playpal $@
|
||||
mv lumps/playpal/$@ .
|
||||
|
||||
gimp-palette: doom.gpl
|
||||
|
||||
clean: wad-image-clean
|
||||
$(RM) *.html $(OBJS) \
|
||||
$(RM) *.html doom.gpl $(OBJS) \
|
||||
./COPYING.txt ./CREDITS.txt \
|
||||
./wadinfo_phase1.txt \
|
||||
./wadinfo_phase2.txt \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue