Changeset 2 in vital-to8-sdk for gfx-tools


Ignore:
Timestamp:
01/19/19 00:41:02 (6 years ago)
Author:
svn
Message:

must include libgen.h or core dumps on dirname

Location:
gfx-tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gfx-tools/Makefile

    r1 r2  
    11CC=gcc
    2 CFLAGS= -std=c99 -W -Wall -pedantic -D_GNU_SOURCE -DALLEGRO_STATICLINK
     2CFLAGS= -std=c99 -W -Wall -pedantic -D_GNU_SOURCE -DALLEGRO_STATICLINK -g
    33LIBS =  -L/usr/lib -Wl,-Bsymbolic-functions -lalleg
    44
  • gfx-tools/tga2teo2.c

    r1 r2  
    11#include <allegro.h>
    22
    3 #include "stdio.h"
    4 #include "stdlib.h"
    5 #include "math.h"
     3#include <stdio.h>
     4#include <stdlib.h>
     5#include <math.h>
     6#include <libgen.h>
    67
    78/*
Note: See TracChangeset for help on using the changeset viewer.